home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / comm / www / 1stLinkChecker.lha / 1st_LinkChecker / LinkChecker.doc < prev    next >
Text File  |  1997-08-08  |  5KB  |  154 lines

  1.                  ******************************************
  2.                  *                                        *
  3.                  * Link Checker V1.3 (08/07/97)           *
  4.                  * © Heiko Schröder (age@thepentagon.com) *
  5.                  *                                        *
  6.                  ******************************************
  7.  
  8.  
  9. Some words:
  10. In the last time i created my »HomeBase of Age«
  11. (see at "http://yi.com/home/SchroederHeiko").
  12.  
  13. So i had to check manually all links in these (S)HTM(L) pages. A hard work ;-(
  14. I looked for a tool at AMINET to solve this problem. No chances. I did found
  15. programs to check the correctness of the HTML syntax, but no tool for checking
  16. the local links at my pages.
  17.  
  18. So i started the programming in ARexx.
  19. And now you have the result on YOUR AMIGA.
  20.  
  21. The theory of LinkChecker:
  22. This ARexx script looks for local links at your (S)HTM(L) pages and checks 
  23. the existence of these linked pages.
  24.  
  25. It checks local links with this syntax:
  26.    HREF="example.(s)htm(l)">           * pages (NORMAL, EMBEDDED)
  27.    HREF=example.(s)htm(l)>
  28.    HREF=../../../age/example.(s)htm(l)>
  29.    SRC="example.gif(jpg,png)">         * graphics (IMG, FIG)
  30.    SRC=example.gif(jpg,png)>
  31.    SRC=example.gif(jpg,png)>
  32.    SRC=../../../age/example.gif(l)>
  33.  
  34. But it ignores the anker like this:
  35.    <A HREF="example.(s)htm(l)#anker")  * anker links 
  36.  
  37. It dont check the following non local links:
  38.    Mailto:
  39.    http://
  40.    ftp://
  41.    gopher://
  42.    news:
  43.    about:
  44.  
  45. The theory of ExtLinkChecker:
  46. This is an script to look for external links at your (S)HTM(L) pages and 
  47. check it via the browser AWEB.
  48. It dont check the local links in html pages.
  49.  
  50. It checks external links with this correct syntax:
  51.    "http://......"          http://......
  52.    "ftp://......."          ftp://.......
  53.    "gopher://...."          gopher://....
  54.  
  55. It doesn't check:
  56.    mailto:
  57.    news:
  58.    about:
  59.  
  60. The requirement:
  61. C:List                     | © by Commodore / Amiga Technologies 
  62. C:Delete                   |   & Amiga International
  63.  
  64. Sys:System/RexxMast        | © 1987 by William S. Hawes
  65.  
  66. Libs:rexxreqtools.library  | © 1994 by Rafael D'Halleweyn
  67.  
  68. The usage:
  69. Double click at the icon of »LinkCheck«. It opens a requester where you 
  70. have to select the directory with the (S)HTM(L) pages.
  71. Thats all.
  72.  
  73. The output
  74. The script checks the (S)HTM(L) files which was found at the selected 
  75. directory. It tells you the checked files, the founded links and the 
  76. link errors.
  77. e.g.:
  78.       Files: 14 - Links: 127 - Errors: 0
  79.  
  80. If the output is "Errors: 0", then all links are okay.
  81.  
  82. If not, you have a problem ;-)
  83. 1.) A requester will be opened with the error informations.
  84.     The output :
  85.         Errors : displayed/unknown failed links
  86.         File   : the file, where the failed link is located
  87.         Link   : name of linked file
  88.         Line   : line of file
  89.  
  90.     The buttons:
  91.         Prev   : previous failed link
  92.         Next   : next failed link 
  93.         I know : the displayed error will be cleared
  94.         Leave  : close the requester
  95.  
  96. 2.) You can look at the file T:LinkCheckResult. There are listed all failed
  97.     links.
  98.     e.g.:
  99.           HD1:Homepages/Age/main.html - next.html - line 123
  100.  
  101.     It tells you, that the link from main.html to next.html at line 123 dont
  102.     exist.
  103.  
  104. The speed
  105. of Local LinkChecker at my 68020/28MHz
  106.  
  107.    name of pages     | files |   size   | links | time in sec
  108.                      |       | in bytes |       |   V1.0*   V1.3
  109. ---------------------------------------------------------------
  110. Waltons-Issue2-Files |   7   |   13.779 |   44  |   5.46*   6.54
  111. SelfHTML-Files V4.0  |  68   |  608.020 | 3318  | 281.14* 369.28
  112.  
  113. *) V1.0 didnt check really all links. V1.3 do it.
  114.  
  115. I believe you cant check it faster manually :-)
  116.  
  117.  
  118. The history
  119. Version    Date       Size   Some words
  120. -----------------------------------------------------------------------------
  121.  
  122.  V1.3     08/07/97           * ExtLinkChecker
  123.                              - new script to check EXTERNAL links via AWEB
  124.                              - now also more than 1 links at one line will be
  125.                                checked (sorry, but other versions checked
  126.                                only the first link at one line)
  127.                              - second public release
  128.  
  129.  V1.2     08/01/97           - it checks also "...shtm" & "...shtml" files
  130.                                "<FIG SRC=xxx.xxx>" ; "<EMBEDDED HREF=xxx.xxx>"
  131.                              - if link errors was found, a requester
  132.                                shows the missed files
  133.                                thanks for inspirations to 
  134.                              - code optimized
  135.                              - not released
  136.  
  137.  V1.1     07/30/97    3260   - now checks also e.g.: "../../../../x.html"
  138.                                thanks for inspirations to Brian Hosty
  139.                              - dont check info files (e.g.: x.html.info) ;-)
  140.                              - code optimized
  141.                              - not released
  142.  
  143.  V1.0     07/24/97    3018   - the first public release on Aminet
  144.  
  145.  
  146. The author
  147.  ______________________________________
  148. /                                      \
  149. \        Heiko Schro"der (Age)         /
  150. /        age@thepentagon.com           \
  151. \                                      /
  152. /  http://yi.com/home/SchroederHeiko   \
  153. \______________________________________/
  154.